package com.black.cat.jvm.classfile.attribute;

import com.black.cat.jvm.classfile.ClassReader;

/**
 * @Author blackcat
 * @create 2021/8/11 20:40
 * @version: 1.0
 * @description:
 *
 * Exceptions_attribute {
 * u2 attribute_name_index;
 * u4 attribute_length;
 * u2 number_of_exceptions;
 * u2 exception_index_table[number_of_exceptions];
 * }
 */
public class ExceptionsAttribute extends BaseAttributeInfo implements AttributeInfo {

    private int[] exceptionIndexTable;

    @Override
    public void readInfo(ClassReader reader) {
        exceptionIndexTable = reader.nextUint16s();
    }

}
